function [statgraph]=statgraph(graph,alphalevel)

statgraph.Cw_one=graph.one(:,1)./graph.one(:,3);
statgraph.Lw_one=graph.one(:,2)./graph.one(:,4);

statgraph.Cw_two=graph.two(:,1)./graph.two(:,3);
statgraph.Lw_two=graph.two(:,2)./graph.two(:,4);

statgraph.C_one=graph.one(:,1);
statgraph.L_one=graph.one(:,2);

statgraph.C_two=graph.two(:,1);
statgraph.L_two=graph.two(:,2);

statgraph.Cs_one=graph.one(:,3);
statgraph.Ls_one=graph.one(:,4);

statgraph.Cs_two=graph.two(:,3);
statgraph.Ls_two=graph.two(:,4);

[statgraph.hCw,statgraph.pCw]=ttest(statgraph.Cw_one,statgraph.Cw_two,alphalevel);
[statgraph.hLw,statgraph.pLw]=ttest(statgraph.Lw_one,statgraph.Lw_two,alphalevel);


statgraph.SW_one=statgraph.Cw_one./statgraph.Lw_one;
statgraph.SW_two=statgraph.Cw_two./statgraph.Lw_two;


[statgraph.hSW,statgraph.pSW]=ttest(statgraph.SW_one,statgraph.SW_two,alphalevel);




